1 //+-----------------------------------------------------------------------
3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // Defines the PersistMoniker class of PresentationHost.
12 // Ported Windows->DevDiv. See SourcesHistory.txt.
14 // Ported Windows->DevDiv. See SourcesHistory.txt.
16 //------------------------------------------------------------------------
20 //******************************************************************************
22 // CPersistStorage class definition
24 //******************************************************************************
26 class CPersistMoniker
: public IPersistMoniker
29 CPersistMoniker(__in CHostShim
*);
33 STDMETHODIMP
QueryInterface(REFIID
, __out LPVOID
*);
34 STDMETHODIMP_(DWORD
) AddRef();
35 STDMETHODIMP_(DWORD
) Release();
37 //IPersistMoniker methods
38 STDMETHODIMP
GetClassID(__out LPCLSID
);
39 STDMETHODIMP
GetCurMoniker(LPMONIKER
*);
40 STDMETHODIMP
Save(LPMONIKER
, LPBC
, BOOL
);
41 STDMETHODIMP
SaveCompleted(LPMONIKER
, LPBC
);
43 STDMETHODIMP
Load(BOOL fFullyAvailable
,
44 __in LPMONIKER pMoniker
,
48 STDMETHODIMP
IsDirty();
51 CHostShim
*m_pHostShim
;